package com.ymm.lulutong.domain;

import com.ymm.lulutong.entity.Address;
import com.ymm.lulutong.request.SaveAddressRequest;
import com.ymm.lulutong.utils.Result;

import java.util.List;

public interface ShipperAddressDomainService {
    /**
     * 货主新增常用地址
     */
    Result<Boolean> shipperSaveOftenAddress(SaveAddressRequest saveAddressRequest);

    /**
     * 货主删除地址
     */
    Result<Boolean> shipperRemoveAddress(Long addressId);

    /**
     * 货主查看地址
     */
    Result<List<Address>> shipperListAddress(Long shipperId);

}
